package VN.EDU.IMIC.DEVELOPER.TRANTHITHANHNGA.OOP.capdoi;

import java.util.Scanner;

public class CoupleController {

	private CoupleData Object;
	private CoupleModel mObject;

	public CoupleController(CoupleData Object) {
		this.Object = Object;
		mObject = new CoupleModel();
	}

	public boolean checkRegistration() {
		if (mObject.checkName(Object)) {
			if (mObject.checkAge(Object)) {
				if (mObject.checkGender(Object)) {
					if (mObject.checkStatus(Object)) {
						if (mObject.checkResult(Object)) {
							return true;
						}
					} else {
						return false;
					}
				} else {
					return false;
				}
			} else {
				return false;
			}
		} else {
			return false;
		}
		return false;
	}
}

